home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2642 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  803 b 

  1. Path: crc-news.doc.ca!usenet
  2. From: Luc Levesque <llevesque@algonquinc.on.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: OpenComm API Call doesnt work right!!!!
  5. Date: 18 Jan 1996 21:53:55 GMT
  6. Organization: The Communications Research Centre
  7. Message-ID: <4dmfhj$8cf@crc-news.doc.ca>
  8. NNTP-Posting-Host: dgrbsl6.ic.gc.ca
  9.  
  10. Hello.
  11.  
  12.     I am trying to lock the parrallel port so that no other
  13. multitasking program can interfere with my data transer in windows.
  14.  
  15.     I have discovered that OpenComm() apperantly locks the port 
  16. when you open it. BUT i wrote a little program that opens the port
  17. and ran it, while the program was running i opened notepad and 
  18. tryed printing. Much to my suprise, the notepad document printed
  19. even tho i had Opened LPT1.
  20.  
  21.     Can anyone enlighten me as to why this is happening?
  22.  
  23.                 Luc Levesque
  24.